import { registerUIActionProvider } from '@ibiz-template/runtime'
import { DataImportUIActionProvider } from './data-import-provider'
import { SaveSearchListUIActionProvider } from './save-search-list-provider'
import { DataExportUIActionProvider } from './data-export-provider'
import { PersonnelCreationUIActionProvider } from './personnel-creation-provider'

/**
 * 注册界面行为插件适配器
 *
 * @export
 */
export function registerUIActionPluginProvider(): void {
  registerUIActionProvider('DEUIACTION_DataImport', () => new DataImportUIActionProvider())
  registerUIActionProvider('DEUIACTION_DATA_IMPORT', () => new DataImportUIActionProvider())
  registerUIActionProvider('DEUIACTION_SaveSearchList', () => new SaveSearchListUIActionProvider())
  registerUIActionProvider('DEUIACTION_SAVE_SEARCH_LIST', () => new SaveSearchListUIActionProvider())
  registerUIActionProvider('DEUIACTION_DataExport', () => new DataExportUIActionProvider())
  registerUIActionProvider('DEUIACTION_DATA_EXPORT', () => new DataExportUIActionProvider())
  registerUIActionProvider('DEUIACTION_PERSONNEL_CREATION', () => new PersonnelCreationUIActionProvider());
}
